package com.onenine.app.activity;

import android.content.Context;
import android.content.Intent;
import android.support.v4.app.ActivityCompat;
import android.view.View;
import android.widget.Button;

import com.onenine.app.R;
import com.onenine.base.base.BaseActivity;
import com.onenine.base.utils.Toasty;

/**
 * 提现
 */
public class WithdrawActivity extends BaseActivity implements View.OnClickListener {

    private Button mBtnAli, mBtnWx;

    public static void launchActivity(Context context) {
        Intent intent = new Intent(context, WithdrawActivity.class);
        context.startActivity(intent);
    }

    @Override
    protected int getLayout() {
        return R.layout.activity_withdraw;
    }

    @Override
    protected void initViews() {
        super.initViews();
        mToolbar.setCenterTitle(R.string.buy_diamond);
        mToolbar.setRightTitle(R.string.recharge_detail);
        mToolbar.setRightTitleColor(ActivityCompat.getColor(this, R.color.c999));
        mBtnAli = findViewById(R.id.btn_ali);
        mBtnWx = findViewById(R.id.btn_wx);
    }

    @Override
    protected void initListeners() {
        super.initListeners();
        mToolbar.setOnRightClickListener(this);
        mBtnAli.setOnClickListener(this);
        mBtnWx.setOnClickListener(this);
    }

    @Override
    public void onClick(View v) {
        Toasty.showNormal("该功能正在开发中");
    }

}
